
package com.jf.cloud.seckill.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 秒杀活动skuDTO
 *
 * @author zz
 * @date 2021-03-30 14:53:09
 */
public class SeckillSkuDTO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "秒杀活动单个skuid" )
    private Long seckillSkuId;

    @Schema(description = "skuId" )
    private Long skuId;

    @Schema(description = "秒杀活动id" )
    private Long seckillId;

    @Schema(description = "用于秒杀的库存" )
    private Integer seckillStocks;

    @Schema(description = "秒杀价格" )
    private Long seckillPrice;

    public Long getSeckillSkuId() {
        return seckillSkuId;
    }

    public void setSeckillSkuId(Long seckillSkuId) {
        this.seckillSkuId = seckillSkuId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Long seckillId) {
        this.seckillId = seckillId;
    }

    public Integer getSeckillStocks() {
        return seckillStocks;
    }

    public void setSeckillStocks(Integer seckillStocks) {
        this.seckillStocks = seckillStocks;
    }

    public Long getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(Long seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    @Override
    public String toString() {
        return "SeckillSkuDTO{" +
                "seckillSkuId=" + seckillSkuId +
                ", skuId=" + skuId +
                ", seckillId=" + seckillId +
                ", seckillStocks=" + seckillStocks +
                ", seckillPrice=" + seckillPrice +
                '}';
    }
}
